projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38e9e63
)
Fix swapped lat/lon in KML read.
author
robertl
<robertl>
Tue, 5 Oct 2010 20:54:38 +0000
(20:54 +0000)
committer
robertl
<robertl>
Tue, 5 Oct 2010 20:54:38 +0000
(20:54 +0000)
kml.c
patch
|
blob
|
history
diff --git
a/kml.c
b/kml.c
index 7d7f8203ee483cf0e06950c4fb9f52064ec29bbd..e7285c721d17634045f90e637ebdaeee9c65fc9e 100644
(file)
--- a/
kml.c
+++ b/
kml.c
@@
-245,7
+245,7
@@
void wpt_coord(const char *args, const char **attrv)
int n = 0;
double lat, lon, alt;
// Alt is actually optional.
- n = sscanf(args, "%lf,%lf,%lf", &l
at, &lon
, &alt);
+ n = sscanf(args, "%lf,%lf,%lf", &l
on, &lat
, &alt);
if (n >= 2) {
wpt_tmp->latitude = lat;
wpt_tmp->longitude = lon;